package com.boot.main.mapper;

import com.boot.main.entity.BcomSiteCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface BcomSiteCategoryMapper {
    List<BcomSiteCategory> getSiteCategorys(Integer status);
    Integer saveSiteCategory(BcomSiteCategory category);
    Integer updateSiteCategory(BcomSiteCategory category);
    Integer deleteSiteCategory(@Param("id") Long id);
}
